home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / AUTOCK3.PAK / ACLIKDOC.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  71 lines

  1. // AClikDoc.h : interface of the CAutoClickDoc class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. /////////////////////////////////////////////////////////////////////////////
  13.  
  14. class CAutoClickDoc : public CDocument
  15. {
  16. protected: // create from serialization only
  17.     CAutoClickDoc();
  18.     DECLARE_DYNCREATE(CAutoClickDoc)
  19.  
  20. // Attributes
  21. public:
  22.     CPoint m_pt;
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CAutoClickDoc)
  30.     public:
  31.     virtual BOOL OnNewDocument();
  32.     virtual void Serialize(CArchive& ar);
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. public:
  37.     virtual ~CAutoClickDoc();
  38. #ifdef _DEBUG
  39.     virtual void AssertValid() const;
  40.     virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42.  
  43. protected:
  44.  
  45. // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CAutoClickDoc)
  48.     afx_msg void OnEditChangetext();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51.  
  52.     // Generated OLE dispatch map functions
  53. public:
  54.     //{{AFX_DISPATCH(CAutoClickDoc)
  55.     CString m_str;
  56.     afx_msg short GetX();
  57.     afx_msg void SetX(short nNewValue);
  58.     afx_msg short GetY();
  59.     afx_msg void SetY(short nNewValue);
  60.     afx_msg LPDISPATCH GetPosition();
  61.     afx_msg void SetPosition(LPDISPATCH newValue);
  62.     afx_msg void Refresh();
  63.     afx_msg void SetAllProps(short x, short y, LPCTSTR text);
  64.     afx_msg void ShowWindow();
  65.     //}}AFX_DISPATCH
  66.     DECLARE_DISPATCH_MAP()
  67.     DECLARE_INTERFACE_MAP()
  68. };
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71.